package com.scu.bank.util;

import java.util.UUID;

public class StringGenerateUtil {
    /**
     * 数据库主键生成器
     * @return
     */
    public static String generatePrimaryKey() {
        UUID uuid = UUID.randomUUID();
        String str = uuid.toString();
        String uuidStr = str.replace("-", "");
        return uuidStr;
    }
}
